package com.demo.jingxi.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author aoyuan
 * @since 2023-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("x_order")
public class XOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ordernumber", type = IdType.AUTO)
    private Long ordernumber;

    private String ordername;

    private String orderproduct;

    private String ordermember;

    private String orderphone;

    private String orderaddress;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime insertTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
